package com.friday.po;

public class EmployeeAttendance {
	private String depName;
	private String name;
	private int workDay;
	private int evectionDay;
	private int leaveDay;
	
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public int getWorkDay() {
		return workDay;
	}
	public void setWorkDay(int workDay) {
		this.workDay = workDay;
	}
	public int getEvectionDay() {
		return evectionDay;
	}
	public void setEvectionDay(int evectionDay) {
		this.evectionDay = evectionDay;
	}
	public int getLeaveDay() {
		return leaveDay;
	}
	public void setLeaveDay(int leaveDay) {
		this.leaveDay = leaveDay;
	}
	public String getDepName() {
		return depName;
	}
	public void setDepName(String depName) {
		this.depName = depName;
	}
	public EmployeeAttendance(String name, String depName) {
		this.depName = depName;
		this.name = name;
		this.workDay = 0;
		this.evectionDay = 0;
		this.leaveDay = 0;
	}
	public void addWorkDay(int add) {
		this.workDay += add;
	}
	public void addEvectionDay(int add) {
		this.evectionDay += add;
	}
	public void addLeaveDay(int add) {
		this.leaveDay += add;
	}
}
